//
//  PBUIProperty.h
//  PayBox
//
//  Created by Hayder on 2022/2/8.
//

#import <Foundation/Foundation.h>

@interface HHButtonProperty : NSObject

@property (nonatomic, assign) CGRect pbframe;
@property (nonatomic, strong) NSString *pbTitle;
@property (nonatomic, strong) UIColor *pbTitleColor;
@property (nonatomic, strong) NSString *pb_s_title;
@property (nonatomic, strong) UIColor *pb_s_titleColor;
@property (nonatomic, assign) CGFloat pbFontSize;

@property (nonatomic, strong) UIImage *pbimage;
@property (nonatomic, strong) UIImage *pb_s_image;

@property (nonatomic, strong) UIImage *pbBackgroundImage;
@property (nonatomic, strong) UIImage *pb_s_backgroundImage;
@property (nonatomic, strong) UIColor *pbBackgroudColor;

@property (nonatomic, assign) CGFloat pbCornerRadius;
@property (nonatomic, strong) id pbtarget;
@property (nonatomic, assign) SEL pbaction;

+ (instancetype)property;

+ (HHButtonProperty *(^)(void))init;
- (HHButtonProperty *(^)(CGRect frame))frame;
- (HHButtonProperty *(^)(NSString *title))title;
- (HHButtonProperty *(^)(UIColor *titleColor))titleColor;
- (HHButtonProperty *(^)(NSString *s_title))selectedTitle;
- (HHButtonProperty *(^)(UIColor *s_titleColor))selectedTitleColor;
- (HHButtonProperty *(^)(CGFloat fontSize))fontSize;
- (HHButtonProperty *(^)(UIImage *image))image;
- (HHButtonProperty *(^)(UIImage *s_image))selectedImage;
- (HHButtonProperty *(^)(NSString *backgroundImage))backgroudImageName;
- (HHButtonProperty *(^)(NSString *s_backgroundImage))selectBackgroudImageName;
- (HHButtonProperty *(^)(UIColor *backgroudColor))backgroudColor;
- (HHButtonProperty *(^)(CGFloat cornerRadius))cornerRadius;
- (HHButtonProperty *(^)(id target,SEL action))targetAction;



@end

